import {request} from '../../libs/request'

export default {
    login: (data) => {
        return request.post('users/login', data)
    },
    register: (data) => {
        return request.post('users/register', data)
    }
}
